package xx.pro.shiro.service;
import xx.pro.shiro.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * 用户表(SysUser)表服务接口
 *
 * @author halo-king
 * @since 2023-09-27 12:42:17
 */
public interface SysUserService extends IService<SysUser> {

    /**
     * 根据用户名查询用户信息
     * @param userName
     * @return
     */
    SysUser queryUserInfoByUserName(String userName);

    /**
     * 根据用户ID查询用户角色、权限相关信息
     * @param userName
     * @return
     */
    SysUser queryUserInfoByUserInfo(String userName);
}

